package com.itotem.android.everbridge.avtivity;

import com.itotem.android.everbridge.R;
import com.itotem.android.everbridge.view.EventListView;

import android.os.Bundle;
import android.view.Window;
import android.widget.ViewFlipper;
import android.app.Activity;

public class EventListActivity extends Activity {

	ViewFlipper mViewFlipper;
	EventListView mEventListView;
	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        SysApplication.getInstance().addActivity(this);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_event_list);
        initViews();
    }
    
    private void initViews() {
    	mViewFlipper = (ViewFlipper)this.findViewById(R.id.event_view_flipper);
    	mEventListView = new EventListView(this);
    	mViewFlipper.addView(mEventListView);
    }
    
}
